/**
 * Created by yuji on 2015/10/29.
 */

var RM = require('../lib/map');
var fs = require('fs');

var jsons = fs.readFileSync('sample.json').toString();

var rm = RM.ResourceMap.initFromObj(JSON.parse(jsons));

var rmRev = RM.ReverseMap.genByReourceMap(rm);

console.log(rmRev)